
local const_ = {
	auth = 'xZtXkxJFyhHbfSbOXs6NflySwUHGCnLI';
	ip1 = '127.0.0.1',
};


local ns_config = {
	_VERSION = '0.12.1',
	__DAY_TIME__ = 86400,


	ssdb = {

		posting = {
			ssdb_server = {
				[0] = {	 ip = '127.0.0.1',    port = 17260,  auth=const_.auth, },
			},

			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0,
			},
		},

		subsp = {
			ssdb_server = {
				[0] = {	 ip = '127.0.0.1',    port = 18100,  auth=const_.auth, },
			},

			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0,
			},
		},

		rcm = {		-- δ��ʹ��
			ssdb_server = {
				[0] = {	 ip = '127.0.0.1',    port = 17280,  auth=const_.auth, },
			},

			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0,
			},
		},

		map = {
			ssdb_server = {
				[0] = {	 ip = '127.0.0.1',    port = 17200,  auth=const_.auth, },
			},

			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0,
			},
		},

		cm = {
			ssdb_server = {
				[0] = {	 ip = '127.0.0.1',    port = 18200,  auth=const_.auth, },
			},

			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0,
			},
		},

		rent = {
			ssdb_server = {
				[0] = {	 ip = '127.0.0.1',    port = 17270,  auth=const_.auth, },
			},

			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0,
			},
		},

		ma = {
			ssdb_server = {
				[0]  = { ip = '127.0.0.1',    port = 17101,  auth=const_.auth, },
				[11] = { ip = '127.0.0.1',    port = 17111,  auth=const_.auth, },
			},

			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0, comm=11,
			},
		},

		battlepass ={
			ssdb_server = {
				[0] = {	 ip = '127.0.0.1',    port = 17101,  auth=const_.auth, },
			},
			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0,
			}
		},

		gchat = {
			ssdb_server = {
				[0]  = { ip = '127.0.0.1',    port = 17101,  auth=const_.auth, },
				[11] = { ip = '127.0.0.1',    port = 17111,  auth=const_.auth, },
			},

			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0, comm=11,
			},
		},

		manor =
		{
			ssdb_server = {
				[0]   = { ip = '127.0.0.1',  port = 18700,  auth=const_.auth, },
				[11]  = { ip = '127.0.0.1',  port = 18700,  auth=const_.auth, },
			},
			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0, comm = 11,
			},
		},
		
		business = {
			ssdb_server = { [0]  = { ip = '127.0.0.1',    port = 18600,  auth=const_.auth, }, },
			ssdb_db_select = { [0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0, comm = 0, },
			--ip_allow = { check = 1,	list = '120.24.64.132',},
		},

		welfare =
		{
			ssdb_server = {
				[0]  = { ip = '127.0.0.1',    port = 18800,  auth=const_.auth, },
			},
			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0,comm = 0,
			},	
		--	ip_allow = { check = 1,	list = '120.24.64.132 183.240.204.116',},
		},

		business_advert =
		{
			ssdb_server = {
				[0]  = { ip = '127.0.0.1',    port = 18801,  auth=const_.auth, },
			},
			ssdb_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0, ["comm"] = 0,
			},	
		--	ip_allow = { check = 1,	list = '127.0.0.1 120.24.64.132 183.240.204.116'},
		},

		-- mall = {
		-- 	ssdb_server = {
		-- 		[0]  = { ip = '127.0.0.1',    port = 18600,  auth=const_.auth, },
		-- 	},
		-- 	ssdb_db_select = {
		-- 		[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0, comm = 0,
		-- 	},
		-- 	--ip_allow = { check = 1,	list = '120.24.64.132',},
		-- },
	},


	mysql = {
		mapbag = {
			mysql_server = {
				[0] = {
					host = '10.66.211.205', port = 3306, user = 'mmog', password = 'mmog#3150320',
					database = 'db_rank', table_name = 't_miniw_kv',
				},
			},
			mysql_db_select = {
				[0]=0, [1]=0, [2]=0, [3]=0, [4]=0, [5]=0, [6]=0, [7]=0, [8]=0, [9]=0,
			},
		},
	}

}



return ns_config;

